package com.example.base.entity

import androidx.room.Entity
import androidx.room.PrimaryKey

data class ShopEntityResult(
    val code: Int,
    val `data`: List<ShopEntity>,
    val message: String
)

/**
 * 订单表---不同的订单状态  1--预下单---2待付款 ---3已取消 ---4已付款----5待发货---6已发货---7已完成---8已评价
 */
@Entity(tableName = "order_info")
data class ShopEntity(
    var count: Int,
    val goods_default_icon: String,
    val goods_default_price: Int,
    val goods_desc: String,
    val goods_id: Int,
    @PrimaryKey
    val id: Int,
    val order_id: Int,
    val user_id: Int,
    var isCheck:Boolean,
    var orderStatus:Int//订单状态
)